package com.hrcx.mystery.mapper;

import com.hrcx.mystery.pojo.EbMysteryUserCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author LinXiPeng
 */
public interface EbMysteryUserCollectMapper extends BaseMapper<EbMysteryUserCollect> {
    /**
     * 重置自增(解决删除记录,再添加记录,自增列不连续问题)
     */
    @Update("ALTER TABLE `eb_mystery_user_collect` AUTO_INCREMENT = 1")
    void resetIncrement();

}